package com.fawvwebanma.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Ticket implements Serializable {
    @TableId(type = IdType.AUTO)
    Long id;
    String personId;
    String orderNum;
    String trainNum;
    String depatureDate;
    String carriageNum;
    String seatNum;
    Integer seatLevel;
    String leaveStationName;
    String arriveStationName;
    Integer ticketType;
    Double ticketPrice;
    // 支付状态：0-待支付 1-支付成功 2-未支付
    Integer status;
}
